﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DevWpfApp
{
    public class IntIdGenerator
    {
        static IntIdGenerator()
        {
            Current = 0;
        }
        public static int NewId()
        {
            Current = Current + 1;
            return Current;
        }
        public static int Current { get; set; }
    }
}
